.rotate{
    // opacity: 0.5;
    // background-color: red;
    font-size: 14px;
   animation: rotate 2s linear infinite;
   position: relative;
 
}

.small{
   font-size: 12px !important;
   height: 24px !important;
   padding: 5px !important;
}
.large{
    font-size: 14px !important;
   height: 40px !important;
   padding: 12px !important;
}

.loading{
    opacity: 0.7;
   cursor: default;
}

@keyframes rotate{
    0%{
        transform: rotate(0deg);
    }
    25%{
        transform: rotate(90deg);
    }
    50%{
        transform: rotate(180deg);
    }
    75%{
        transform: rotate(270deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

.disabled {
    cursor: not-allowed;
    //    &:hover{
    //         color: #fff;
    //         background-color: #408EFF !important;
    //    }
}


.marge {
    margin-right: 8px;
}

.round {
    border-radius: 20px;
}

.circle {
    margin: 0;
    padding: 8px;
    border-radius: 50%;
    height: 32px;
    // width: 32px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.other{
    &:hover {
       color: #fff;
        opacity:0.7;
        background-color: var(--hover-background-color-1) !important;
    }
    &:focus{
        border-color: var(--hover-border-color-5);
        background-color: var(--hover-bg-color-5);
        opacity:0.7;
    }
}

.plain-other{
    &:hover {
        color: #fff !important;
        background-color: var(--hover-background-color-1) !important;
    }
    &:focus{
        color: #fff !important;
        border-color: var(--hover-border-color-5);
        background-color: var(--hover-background-color-1) !important;
        // opacity:0.7;
    }
}

.default {

    // color: #fff;
    // background-color: #408EFF;
    &:hover {
        border-color: var(--el-color-primary-light-5);
        background-color: var(--el-color-primary-light-8);
        color: var(--el-color-primary);
    }
    &:focus{
        border-color: var(--el-color-primary-light-5);
        background-color: var(--el-color-primary-light-8);
        color: var(--el-color-primary);
    }
}

.primary {
    color: #fff;
    background-color: var(--el-color-primary);

    &:hover {
        background-color: var(--el-color-primary-light-3);
    }
    &:focus{
        background-color: var(--el-color-primary-light-3);
        // background-color: red;
    }
}

.success {
    color: #fff;
    background-color: var(--el-color-success);

    &:hover {
        background-color: var(--el-color-success-light-3);
    }
    &:focus {
        background-color: var(--el-color-success-light-3);
    }
}

.info {
    color: #fff;
    background-color: var(--el-color-info);

    &:hover {
        background-color: var(--el-color-info-light-3);
    }
    &:focus {
        background-color: var(--el-color-info-light-3);
    }
}

.warning {
    color: #fff;
    background-color: var(--el-color-warning);

    &:hover {
        background-color: var(--el-color-warning-light-3);
    }
    &:focus {
        background-color: var(--el-color-warning-light-3);
    }
}

.danger {
    color: #fff;
    background-color: var(--el-color-danger);

    &:hover {
        background-color: var(--el-color-danger-light-3);
    }
    &:focus {
        background-color: var(--el-color-danger-light-3);
    }
}

.plain-default {

    &:hover {
        border-color: var(--el-color-primary-light-3);
        color: var(--el-color-primary);

    }
    &:focus {
        border-color: var(--el-color-primary-light-3);
        color: var(--el-color-primary);

    }
}

.plain-primary {
    border-color: var(--el-color-primary-light-5);
    color: var(--el-color-primary);
    background-color: var(--el-color-primary-light-9);

    &:hover {
        color: #fff;
        background-color: var(--el-color-primary);
    }
    &:focus {
        color: #fff;
        background-color: var(--el-color-primary);
    }
}

.plain-success {
    border-color: var(--el-color-success-light-5);
    color: var(--el-color-success);
    background-color: var(--el-color-success-light-9);

    &:hover {
        color: #fff;
        background-color: var(--el-color-success);
    }
    &:focus {
        color: #fff;
        background-color: var(--el-color-success);
    }
}

.plain-info {
    border-color: var(--el-color-info-light-5);
    color: var(--el-color-info);
    background-color: var(--el-color-info-light-9);

    &:hover {
        color: #fff;
        background-color: var(--el-color-info);
    }
    &:focus {
        color: #fff;
        background-color: var(--el-color-info);
    }
}

.plain-warning {
    border-color: var(--el-color-warning-light-5);
    color: var(--el-color-warning);
    background-color: var(--el-color-warning-light-9);

    &:hover {
        color: #fff;
        background-color: var(--el-color-warning);
    }
    &:focus {
        color: #fff;
        background-color: var(--el-color-warning);
    }
}

.plain-danger {
    border-color: var(--el-color-danger-light-5);
    color: var(--el-color-danger);
    background-color: var(--el-color-danger-light-9);
    
    &:hover {
        color: #fff;
        background-color: var(--el-color-danger);
    }
    &:focus {
        color: #fff;
        background-color: var(--el-color-danger);
    }
}